home *** CD-ROM | disk | FTP | other *** search
/ Aminet 16 / Aminet 16 (1996)(GTI - Schatztruhe)[!][Dec 1996].iso / Aminet / comm / bbs / TA1_22.lha / Programming / transamiga_protos.h < prev    next >
C/C++ Source or Header  |  1992-06-17  |  3KB  |  74 lines

  1. #ifndef  CLIB_TRANSAMIGA_PROTOS_H
  2. #define  CLIB_TRANSAMIGA_PROTOS_H
  3. /*
  4. **    $Filename: clib/transamiga_protos.h $
  5. **  $Release: v1.11 $
  6. **  $Revision: 2.2 $
  7. **  $Date: 92/03/19 $
  8. **
  9. **    TransAmiga prototypes.
  10. **
  11. **  (C) Copyright 1991, 1992 Timothy J. Aston
  12. **        All Rights Reserved
  13. */
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17. #ifndef  TRANSAMIGA_H
  18. #include <pd/transamiga.h>
  19. #endif
  20.  
  21. /* TransAmiga library function definitions.  Most of these functions are
  22.  * private, so don't bother with them, only use those that are documented.
  23.  */
  24.  
  25. LONG RexxReserved();
  26. VOID OutStr(char *str);
  27. VOID LogEntry(char *symbol, char *str, char *logfile);
  28. LONG FreeDriveSpace(char *dev);
  29. int NewBBSLine(struct BBSLine *line);
  30. VOID CloseBBSLine(struct BBSLine *line);
  31. ULONG BBSLineInfo(int linenum);
  32. VOID SetSerParams(struct BBSLine *line, ULONG baud);
  33. int CheckCarrier(struct BBSLine *line);
  34. VOID SerWrite(struct BBSLine *line, char *ch);
  35. LONG SerReadData(struct BBSLine *line, char *ch);
  36. LONG SerReadChar(struct BBSLine *line, char *ch);
  37. VOID SerFlush(struct BBSLine *line);
  38. VOID ConWrite(struct BBSLine *line, char *ch);
  39. VOID ConQueueRead(struct BBSLine *line, char *ch);
  40. int ConCheckRead(struct BBSLine *line);
  41. VOID ConAbortRead(struct BBSLine *line);
  42. int CheckLock(int what);
  43. VOID DropDTR(struct BBSLine *line);
  44. VOID RaiseDTR(struct BBSLine *line);
  45. int StartRexx(char *macroname, char *portname, struct MsgPort *replyport);
  46. int ParseRexxMsg(struct BBSLine *line,struct RexxMsg *rmp, char *rxargs);
  47. ULONG CreateArgStr(char *str);
  48. int DosCmd(char *cmd, char *outfile);
  49. VOID SerWriteLen(struct BBSLine *line, char *ch, ULONG len);
  50. VOID ConWriteLen(struct BBSLine *line, char *ch, ULONG len);
  51. ULONG SerQuery(struct BBSLine *line);
  52. VOID ANSIWrite(struct BBSLine *line, UBYTE *ch);
  53. VOID PostNodeMsg(struct BBSLine *line, int linenum, char *msg);
  54. VOID MenuCommSeq(struct BBSLine *line);
  55. VOID OnlineMenus(struct BBSLine *line);
  56. VOID WaitingMenus(struct BBSLine *line);
  57. VOID SetScreenTitle(struct Screen *scr, UBYTE *scrtitle);
  58. long RVIGetVar(struct RexxMsg *msg, char *var, VOID *val);
  59. long RVISetVar(struct RexxMsg *msg, char *var, VOID *val);
  60. VOID FixString(char *ch);
  61. int TextReadStr(char *src, char *dest, long *l);
  62. int AboutWin(struct BBSLine *line, UBYTE *regstr, UBYTE *portname);
  63. int BBSCmd(LONG linenum, char *cmd, char *buf);
  64. int SaveMsgText(char *infile, char *outfile, LONG msgnum, LONG type, LONG marg, struct MsgHeader *header);
  65. struct RexxMsg * WaitRexxMsg(struct MsgPort *rp);
  66. LONG ObtainLine(LONG linenum, struct BBSLine *linebuf);
  67. VOID ReleaseLine(struct BBSLine *line);
  68. VOID LockAccess(int what);
  69. VOID UnLockAccess(int what);
  70. VOID UpdateCursor(struct BBSLine *line);
  71. VOID StripANSI(UBYTE *s, UBYTE *d);
  72. ULONG GetTimer(LONG dummy);
  73.  
  74. #endif